import requests

url = 'https://www.wanandroid.com/user/login'
payload = {
    'username': 'weixuesong',
    'password': 'wxs2011133069'
}
s = requests.Session()
response = s.post(url, data=payload)
print(response.json())

url = 'https://www.wanandroid.com/user/lg/userinfo/json'
response = s.get(url)
print(response.json())
